package 饿汉单例;

public class Main {
    public static void main(String[] args) {
        demo demo1 = demo.instance;
        demo demo2 = demo.instance;
        System.out.println(demo1 == demo2);
    }
}
